module.exports = app => {
  const {
    controller,
    router,
    config: { api },
  } = app;

  router.get(`${api.v1}news/daily`, controller.news.daily);
  router.get(`${api.v1}news/recommend`, controller.news.recommend);
};
